package com.lhs.DTO.blog;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.Date;

@Data
public class BlogDTO {

    private Long id;

    /**
     * 标题
     */
    private String title;
    /**
     * 内容
     */
    private String content;

    private Integer status;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    private Date publishTime;

    private String cover;

    private String label;



}
